package com.bicon.botu.finance.payment.repository;

import com.bicon.botu.finance.payment.entity.TransferEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

/**
 * @Author: 宋旭
 * @Date: Created in 20:46 2017/7/17/017
 */
@RepositoryRestResource(path = "transfer",collectionResourceRel = "transfer")
public interface TransferRepository  extends MongoRepository<TransferEntity,String> {

    TransferEntity findByOrderNo(String orderNo);
}
